#pragma once
#include "Singleton.h"
class Game;

class Engine : public Singleton<Engine>
{
public:
	Engine();
	~Engine();
	
	bool Init();
	void Start();
	void Exit();

	void Update(float elapsedTime);

	void setGame(Game* game) { mGame = game; }

	Game* getGame() const { return mGame; }
	SceneManager* getSceneManager() const { return mSceneMgr; }
	Camera* getCamera() const { return mCamera; }

private:
	Game* mGame;
	SceneManager* mSceneMgr;
	Camera* mCamera;
};
